﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace CM
{
    /// <summary>
    /// Interaction logic for FirstTimeSetup.xaml
    /// </summary>
    public partial class FirstTimeSetup : Window
    {
        public FirstTimeSetup()
        {
            InitializeComponent();
        }

        #region welcomeTab

        private void btnNext1_Click(object sender, RoutedEventArgs e)
        {
            tabControl.SelectedItem = tabControl.Items.GetItemAt(1);
        }

        #endregion

        #region setupTab

        private void btnBack1_Click(object sender, RoutedEventArgs e)
        {
            tabControl.SelectedItem = tabControl.Items.GetItemAt(0);
        }

        private void btnNext2_Click(object sender, RoutedEventArgs e)
        {
            tabControl.SelectedItem = tabControl.Items.GetItemAt(2);
        }

        #endregion

        private void btnNext3_Click(object sender, RoutedEventArgs e)
        {
            //close welcome window, and open mainwindow
            Close();
            //this will be un commented when first time run has been tested and worls :)
            //Properties.Settings.Default.First = true
        }

        #region finalTab

        #endregion

    }
}
